package com.dragon.modules.yuegou.entity.member;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.member.PtTurntablePrizePrizeType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 大转盘奖品实体类<br>
 * 对应的表为：mem_pt_turntable_prize<br>
 * 
 * @author pbuilder generated
 * @date 2022-08-12 14:08:15
 * @company sgy
 * @version 2.0
 */
@TableName("mem_pt_turntable_prize")
@ApiModel(description = "大转盘奖品")
public class PtTurntablePrizeEntity {

    /** id */
	@ApiModelProperty("id")
	protected String id;

    /** 是否是中奖配置 */
	@ApiModelProperty("是否是中奖配置")
	protected Boolean prizeFlag;

    /** 大转盘ID */
	@ApiModelProperty("大转盘ID")
	protected String pointTurntableId;

    /** [枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2 */
	@ApiModelProperty("[枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2")
	protected PtTurntablePrizePrizeType prizeType;

    /** 奖品标题 */
	@ApiModelProperty("奖品标题")
	protected String prizeTitle;

    /** 商品id */
	@ApiModelProperty("商品id")
	protected String goodsId;

    /** 商品名称 */
	@ApiModelProperty("商品名称")
	protected String goodsName;

    /** 商品图案 */
	@ApiModelProperty("商品图案")
	protected String goodsImg;

    /** 是否无限大 */
	@ApiModelProperty("是否无限大")
	protected Boolean goodsInfinite;

    /** 奖品数量 */
	@ApiModelProperty("奖品数量")
	protected Integer goodsCount;

    /** 中奖概率 */
	@ApiModelProperty("中奖概率")
	protected Integer goodsProbability;

    /** 商品序号 */
	@ApiModelProperty("商品序号")
	protected Integer goodsSort;

    /** 赠送积分数量 */
	@ApiModelProperty("赠送积分数量")
	protected Long pointCount;

    /** 删除标志，0未删除，1删除 */
	@ApiModelProperty("删除标志，0未删除，1删除")
	protected Boolean del;

    /** 删除人 */
	@ApiModelProperty("删除人")
	protected String delBy;

    /** 删除时间 */
	@ApiModelProperty("删除时间")
	protected LocalDateTime delTime;

	/**
	 * 构造一个空大转盘奖品实体对象
	 */
	public PtTurntablePrizeEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个大转盘奖品实体对象
	 * 
	 * @param other 其它对象
	 */
	public PtTurntablePrizeEntity(PtTurntablePrizeEntity other){
		super();
     	this.id = other.id;
     	this.prizeFlag = other.prizeFlag;
     	this.pointTurntableId = other.pointTurntableId;
     	this.prizeType = other.prizeType;
     	this.prizeTitle = other.prizeTitle;
     	this.goodsId = other.goodsId;
     	this.goodsName = other.goodsName;
     	this.goodsImg = other.goodsImg;
     	this.goodsInfinite = other.goodsInfinite;
     	this.goodsCount = other.goodsCount;
     	this.goodsProbability = other.goodsProbability;
     	this.goodsSort = other.goodsSort;
     	this.pointCount = other.pointCount;
     	this.del = other.del;
     	this.delBy = other.delBy;
     	this.delTime = other.delTime;
	}


	/**
	 * 获取id
	 * 
	 * @return id id
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置id
	 * 
	 * @param id id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取是否是中奖配置
	 * 
	 * @return prizeFlag 是否是中奖配置
	 */
	public Boolean getPrizeFlag() {
		return prizeFlag;
	}
  	
	/**
	 * 设置是否是中奖配置
	 * 
	 * @param prizeFlag 是否是中奖配置
	 */
	public void setPrizeFlag(Boolean prizeFlag) {
		this.prizeFlag = prizeFlag;
	}

	/**
	 * 获取大转盘ID
	 * 
	 * @return pointTurntableId 大转盘ID
	 */
	public String getPointTurntableId() {
		return pointTurntableId;
	}
  	
	/**
	 * 设置大转盘ID
	 * 
	 * @param pointTurntableId 大转盘ID
	 */
	public void setPointTurntableId(String pointTurntableId) {
		this.pointTurntableId = pointTurntableId;
	}

	/**
	 * 获取[枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2
	 * 
	 * @return prizeType [枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2
	 */
	public PtTurntablePrizePrizeType getPrizeType() {
		return prizeType;
	}
  	
	/**
	 * 设置[枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2
	 * 
	 * @param prizeType [枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2
	 */
	public void setPrizeType(PtTurntablePrizePrizeType prizeType) {
		this.prizeType = prizeType;
	}

	/**
	 * 获取奖品标题
	 * 
	 * @return prizeTitle 奖品标题
	 */
	public String getPrizeTitle() {
		return prizeTitle;
	}
  	
	/**
	 * 设置奖品标题
	 * 
	 * @param prizeTitle 奖品标题
	 */
	public void setPrizeTitle(String prizeTitle) {
		this.prizeTitle = prizeTitle;
	}

	/**
	 * 获取商品id
	 * 
	 * @return goodsId 商品id
	 */
	public String getGoodsId() {
		return goodsId;
	}
  	
	/**
	 * 设置商品id
	 * 
	 * @param goodsId 商品id
	 */
	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	/**
	 * 获取商品名称
	 * 
	 * @return goodsName 商品名称
	 */
	public String getGoodsName() {
		return goodsName;
	}
  	
	/**
	 * 设置商品名称
	 * 
	 * @param goodsName 商品名称
	 */
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	/**
	 * 获取商品图案
	 * 
	 * @return goodsImg 商品图案
	 */
	public String getGoodsImg() {
		return goodsImg;
	}
  	
	/**
	 * 设置商品图案
	 * 
	 * @param goodsImg 商品图案
	 */
	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}

	/**
	 * 获取是否无限大
	 * 
	 * @return goodsInfinite 是否无限大
	 */
	public Boolean getGoodsInfinite() {
		return goodsInfinite;
	}
  	
	/**
	 * 设置是否无限大
	 * 
	 * @param goodsInfinite 是否无限大
	 */
	public void setGoodsInfinite(Boolean goodsInfinite) {
		this.goodsInfinite = goodsInfinite;
	}

	/**
	 * 获取奖品数量
	 * 
	 * @return goodsCount 奖品数量
	 */
	public Integer getGoodsCount() {
		return goodsCount;
	}
  	
	/**
	 * 设置奖品数量
	 * 
	 * @param goodsCount 奖品数量
	 */
	public void setGoodsCount(Integer goodsCount) {
		this.goodsCount = goodsCount;
	}

	/**
	 * 获取中奖概率
	 * 
	 * @return goodsProbability 中奖概率
	 */
	public Integer getGoodsProbability() {
		return goodsProbability;
	}
  	
	/**
	 * 设置中奖概率
	 * 
	 * @param goodsProbability 中奖概率
	 */
	public void setGoodsProbability(Integer goodsProbability) {
		this.goodsProbability = goodsProbability;
	}

	/**
	 * 获取商品序号
	 * 
	 * @return goodsSort 商品序号
	 */
	public Integer getGoodsSort() {
		return goodsSort;
	}
  	
	/**
	 * 设置商品序号
	 * 
	 * @param goodsSort 商品序号
	 */
	public void setGoodsSort(Integer goodsSort) {
		this.goodsSort = goodsSort;
	}

	/**
	 * 获取赠送积分数量
	 * 
	 * @return pointCount 赠送积分数量
	 */
	public Long getPointCount() {
		return pointCount;
	}
  	
	/**
	 * 设置赠送积分数量
	 * 
	 * @param pointCount 赠送积分数量
	 */
	public void setPointCount(Long pointCount) {
		this.pointCount = pointCount;
	}

	/**
	 * 获取删除标志，0未删除，1删除
	 * 
	 * @return del 删除标志，0未删除，1删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置删除标志，0未删除，1删除
	 * 
	 * @param del 删除标志，0未删除，1删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取删除人
	 * 
	 * @return delBy 删除人
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置删除人
	 * 
	 * @param delBy 删除人
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

	/**
	 * 获取删除时间
	 * 
	 * @return delTime 删除时间
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置删除时间
	 * 
	 * @param delTime 删除时间
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

    public String toString() {
		return new StringBuilder().append("PtTurntablePrizeEntity{").
			append("id=").append(id).
			append(",prizeFlag=").append(prizeFlag).
			append(",pointTurntableId=").append(pointTurntableId).
			append(",prizeType=").append(prizeType).
			append(",prizeTitle=").append(prizeTitle).
			append(",goodsId=").append(goodsId).
			append(",goodsName=").append(goodsName).
			append(",goodsImg=").append(goodsImg).
			append(",goodsInfinite=").append(goodsInfinite).
			append(",goodsCount=").append(goodsCount).
			append(",goodsProbability=").append(goodsProbability).
			append(",goodsSort=").append(goodsSort).
			append(",pointCount=").append(pointCount).
			append(",del=").append(del).
			append(",delBy=").append(delBy).
			append(",delTime=").append(delTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public PtTurntablePrizeEntity copy() {
		return new PtTurntablePrizeEntity(this);
	}

    /** id */
	public static final String COL_ID = "id";

    /** 是否是中奖配置 */
	public static final String COL_PRIZE_FLAG = "prize_flag";

    /** 大转盘ID */
	public static final String COL_POINT_TURNTABLE_ID = "point_turntable_id";

    /** [枚举]奖品类型：0-实物产品-G1、1-虚拟产品-G2 */
	public static final String COL_PRIZE_TYPE = "prize_type";

    /** 奖品标题 */
	public static final String COL_PRIZE_TITLE = "prize_title";

    /** 商品id */
	public static final String COL_GOODS_ID = "goods_id";

    /** 商品名称 */
	public static final String COL_GOODS_NAME = "goods_name";

    /** 商品图案 */
	public static final String COL_GOODS_IMG = "goods_img";

    /** 是否无限大 */
	public static final String COL_GOODS_INFINITE = "goods_infinite";

    /** 奖品数量 */
	public static final String COL_GOODS_COUNT = "goods_count";

    /** 中奖概率 */
	public static final String COL_GOODS_PROBABILITY = "goods_probability";

    /** 商品序号 */
	public static final String COL_GOODS_SORT = "goods_sort";

    /** 赠送积分数量 */
	public static final String COL_POINT_COUNT = "point_count";

    /** 删除标志，0未删除，1删除 */
	public static final String COL_DEL = "del";

    /** 删除人 */
	public static final String COL_DEL_BY = "del_by";

    /** 删除时间 */
	public static final String COL_DEL_TIME = "del_time";
}
